package cn.bdqn.t354.service.impl;

import cn.bdqn.t354.mapper.OrdersLineMapper;
import cn.bdqn.t354.pojo.OrdersLine;
import cn.bdqn.t354.service.OrdersLineService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class OrdersLineServiceImpl implements OrdersLineService {
    @Resource
    private OrdersLineMapper ordersLineMapper;


    @Override
    public List<OrdersLine> getOrdersLineByOrderId(Long orderId) {
        return ordersLineMapper.getOrderLineByOrderId(orderId);
    }
}
